package com.satanlh.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Packege：com.satanlh.springboot.web
 * @Author satanlh
 * @Date 2021/3/4 16:12
 * @Version 1.0
 */
@Controller
public class IndexController {
    @RequestMapping(value = "/say")
    public @ResponseBody
    String say(){
        return "nihao";
    }
}
